package com.sghd.charge.module.model;


/**
 * 充值重试对象
 */
public class RetryCharge {

    private int serverId;
    /** 充值记录 */
    private long orderId;

    public int getServerId() {
        return serverId;
    }

    public void setServerId(int serverId) {
        this.serverId = serverId;
    }

    public long getOrderId() {
        return orderId;
    }

    public void setOrderId(long orderId) {
        this.orderId = orderId;
    }

    @Override
    public String toString() {
        return "RetryCharge [" + serverId + ":" + orderId + "]";
    }

    // Static Method ...

    /** 构造方法 */
    public static RetryCharge valueOf(int serverId, long order) {
        RetryCharge result = new RetryCharge();
        result.serverId = serverId;
        result.orderId = order;
        return result;
    }
}
